package com.example.psysystemhomework.bean;


import java.io.Serializable;

import lombok.Data;


/**
 * Copyright:zhaoyang.wicp.vip
 * Author:王昭阳 -小明机器人
 * Date:2021/12/12
 * Description:代码版权声明
 */


public class StoryBean implements Serializable {
    private int storyId;
    private String content;
    private int userId;
    private String type;
    private UserBean userBean;


    @Override
    public String toString() {
        return "{" +
                "storyId=" + storyId +
                ", content='" + content + '\'' +
                ", userId=" + userId +
                ", type='" + type + '\'' +
                ", userBean=" + userBean +
                '}';
    }

    public StoryBean(String content, String type) {
        this.content = content;
        this.type = type;
    }

    public StoryBean() {
    }

    public int getStoryId() {
        return storyId;
    }

    public void setStoryId(int storyId) {
        this.storyId = storyId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public UserBean getUserBean() {
        return userBean;
    }

    public void setUserBean(UserBean userBean) {
        this.userBean = userBean;
    }
}
